package test.反射.demo;

/**
 * Created by chengxiaoqi1 on 2018/8/1.
 */
public class Animal {

    private String name;
    private int age;

    public Animal(String name, int age){
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Animal : name = " + name + " age = " + age;
    }


}
